﻿@model List<FTBS.Models.Entities.Comment>

<table class="table striped bordered hovered" style="margin: 0px 0px 0px 40px; max-width: 700px">
    <tr>
        <th style="width: 120px">
            Tên tài khoản
        </th>
        <th>Nội dung bình luận</th>
        <th></th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @item.UserName
            </td>

            <td>
                @item.CommentContent
            </td>

            <td>
                <button type="button" style="background: none; border: none; display: inline; font: inherit; margin: 0; padding: 0; outline: none; outline-offset: 0; color: #2e92cf; cursor: pointer;" onclick="delComment(@item.CommentId)">
                        Xóa</button>
            </td>
        </tr>
    }
</table>
